package com.xbjtech.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import com.xbjtech.service.UserService;

import lombok.extern.slf4j.Slf4j;

@Controller
@Slf4j
public class UserController {

	@Autowired
	UserService userService;
	
	@GetMapping("/hello")
	public String hello() {
		log.info("userService:{}", userService);
		return "hello";
	}
	
}
